#include  <cstdio>

int main(int argc, char *argv[])
{
	int c,m,n,counter = 1;
	scanf("%d",&c);

	while( c-- )
	{
		scanf("%d%d",&m,&n);
		if(m%2 == 0 || n%2 == 0)
			printf("Scenario #%d:\n%d.00\n\n",counter++,m*n);
		else
			printf("Scenario #%d:\n%d.41\n\n",counter++,m*n);
	}
}
